.page-list-packages {
  h1 {
    margin-bottom: 33px;
  }

  .no-padding {
    padding: 0 !important;
  }

  .no-margin {
    margin: 0 !important;
  }

  .frameworkfilters-info {
    color: var(--neutralForeground1Rest);
    text-decoration: none;
  }

  @media (max-width: @screen-md) {
    .btn-filter {
      text-align: left;
      margin-top: 0px;
      margin-bottom: 5px;
    }
  }

  .prerel-filter {
    white-space: nowrap;
    float: right;
  }

  @media (min-width: @screen-md) {
    .prerel-filter {
      display: inline-block;
      margin-top: 54px;
    }
  }

  .sortby {
    margin-top: 47px;
    display: flex;
    gap: 10px;
    align-items: center;

    label {
      white-space: nowrap;
      font-weight: 500;
      font-size: large;
    }

    select {
      float: right;
    }
  }

  .framework-filter-info-icon {
    margin-bottom: -6px;
    overflow: hidden;
  }

  .frameworkGroup{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .frameworkGroupRow{
    display: flex;
    width: 100%;
  }

  .advanced-search-panel {
    border-radius: var(--X-Large, 8px);

    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px 0px rgba(0, 0, 0, 0.14);
    background-color: var(--neutralBackground1Rest);
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 30px;

    fieldset {
      margin: 20px;

      label {
        font-weight: 400;
        font-size: small;
        white-space: nowrap;
      }
    }

    legend {
      margin-bottom: 5px;
      font-weight: 500;
      font-size: medium;
      white-space: nowrap;
    }

    .btn {
      margin-bottom: 10px;
    }

    .reset-btn {
      padding-left: 4px;
    }

    .apply-btn {
      padding-right: 4px;
    }

    .warning-panel {
      margin-left: 10px;
      margin-right: 10px;
    }

    label{
      margin: auto 0
    }

    .collapsible:focus {
      outline: solid;
      z-index: 1;
    }

    .tfmTab {
      display: none;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.1s ease-out;
      padding-left: 64px;

      ul {
        list-style: none;
        padding: 0;
        margin-top: 2px;
      }

      li {
        display: flex;
      }
    }

    .computed-frameworks-option {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;

      p {
        margin: 0px;
        float: left;
        font-size: small;
      }

      label {
        margin: 0px;
        padding-right: 0px;
      }

      #computed-frameworks-checkbox {
        float: right;
      }
    }

    .framework-filter-mode-option {
      align-items: center;
      display: flex;
      justify-content: space-between;
      margin-top: 2px;
      margin-bottom: 6px;
      margin-right: -2px;

      p {
        margin: 0px;
        float: left;
        font-size: small;
      }

      i {
        vertical-align: middle;
      }

      .toggle-switch-control {
        float: right;
        margin-right: -2px;
        display: flex;
      }

      input {
        opacity: 0;
        width: 0px;
        margin: 0px;
      }
      
      input:not(:checked):hover + label {
        border-color: var(--brandBackground1Hover);
      }

      input:checked:hover + label {
        background-color: var(--brandBackground1Hover);
        border-color: var(--brandBackground1Hover);
      }

      input:checked:active + label {
        background-color: var(--neutralForeground2BrandSelected);
        border-color: var(--neutralForeground2BrandSelected);
      }

      input:checked:focus + label {
        outline-offset: -2px;
        box-shadow: inset 0px 0px 0px 1px var(--neutralStrokeFocus2Rest), inset 0px 0px 0px 2px var(--neutralStrokeFocus1Rest);
        border: 1px solid var(--neutralStrokeFocus2Rest);
        outline: none;
      }

      label {
        cursor: pointer;
        float: left;
        width: 35px;
        padding: 4px 7px;
        margin: 0px;
        text-align: center;
        vertical-align: middle;
        font-size: x-small;
        color: var(--neutralForeground1Rest);
        background-color: var(--neutralBackground1Rest);
        border: 1px solid var(--neutralStroke1Rest);
      }

      input:checked + label {
        font-weight: bolder;
        border: 1px solid var(--brandBackground1Rest);
        color: var(--neutralForegroundOnBrandRest);
        background-color: var(--brandBackground1Rest);
      }

      label[for="all-selector"] {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
      }

      label[for="any-selector"] {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
      }
    }

    .prerel-option{
      display: flex;
    }
  }

  @media (min-width: @screen-sm) {
    .text-align-right {
      text-align: right;
    }
  }

  @media (min-width: 992px) {
    .advanced-search-panel {
      position: relative;
      top: 0;
      margin-top: 30px;
      display: block;
    }
  }

  @media (max-width: 992px) {
    .advanced-search-panel {
      margin-top: 0px;
    }
  }

  .toggle-advanced-search-panel {
    display: none;
    margin: 30px 0px;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px 0px rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    background-color: var(--neutralBackground1Rest);
    position: relative;
    border: none;
    padding-left: 19px;

    span{
      margin: auto 0;
    }
  }

  @media (max-width: 992px) {
    .toggle-advanced-search-panel{
      display: flex;
      justify-content: space-between;
    }

    .advanced-search-panel {
      display: none;
    }
  }
}

